from flask import Flask
#注册蓝图
app = Flask(__name__)
#主文件中导入蓝图文件
from config import Config
app.config.from_object(Config)
#注册优惠卷蓝图模块
from course import bp_course
app.register_blueprint(bp_course,url_prefix='/course')

if __name__=='__main__':
    app.run(host='127.0.0.1',port=5001)